<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数学题</title>
</head>
<body>
    <style>
        td{
            border:1px solid black;
            width:63px;
            padding:3px 5px;
            height:20px;
            font-size:12px;
        }
        table{
            border-collapse:collapse;
            margin: 0 auto;
        }
        @media print {
            .print{
                display: block;
            }
            .param{
                display: none;
            }
        }
    </style>
    <div class="param" style="text-align: center;margin-bottom:10px;">
        数量：{$sub_count},
        {if $param}
        {foreach $param $key $val}
        <span>{$key}:{$val}</span>
        {/foreach}
        {/if}
    </div>
    <table class="print">
        {foreach $printReuslt $val}
            <tr>
            {foreach $val $zval}
                <td>{$zval}</td>
            {/foreach}
            </tr>
        {/foreach}
    </table>
</body>
</html>